{% extends "../master.html" %}

{% block header %}
    {% include "../header.html" %}
{% endblock %}

{% block page %}
    <h1>Translations:</h1>
    {% if admin %}
    <form class="form" action="/settings/save" method="post">
    <div class="button">
        <h3>Titles:</h3>
        <table>
            <tr>
                <td><b>Wiki:</b></td>
                <td><input name="wiki" value="{{ settings.wiki }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>Author:</b></td>
                <td><input name="author" value="{{ settings.author }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>Collection:</b></td>
                <td><input name="collection" value="{{ settings.collection }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>Exposition:</b></td>
                <td><input name="exposition" value="{{ settings.exposition }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>Picture:</b></td>
                <td><input name="picture" value="{{ settings.picture }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>Contact:</b></td>
                <td><input name="contact" value="{{ settings.contact }}" type="text" /></td>
            </tr>
        </table>
        <h3>Date:</h3>
        <table>
            <tr>
                <td><b>Start:</b></td>
                <td><input name="start" value="{{ settings.start }}" type="text" /></td>
            </tr>
            <tr>
                <td><b>End:</b></td>
                <td><input name="end" value="{{ settings.end }}" type="text" /></td>
            </tr>
        </table>
        <h3>Links:</h3>
        <table>
            <tr>
                <td><b>Select:</b></td>
                <td><input name="select" value="{{ settings.select }}" type="text" /></td>
            </tr>
        </table>
        <br />
        <input name="cancel" value="Cancel" type="submit" /> |
        <input name="save" value="Save" type="submit" />
        <input name="settings_key" value="{{ settings.key }}" type="hidden" />
        <input name="size_key" value="{{ size.key }}" type="hidden" />
        <input name="language_key" value="{{ language.key }}" type="hidden" />
    </div>
    </form>
    {% endif %}
{% endblock %}

{% block footer %}
    {% include "../footer.html" %}
{% endblock %}
